package com.syxd.dto;

import com.syxd.entity.SysRoleEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 后台管理用户表
 *
 */
@Data
@ApiModel(value = "后台管理用户表")
public class SysUserDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "用户ID")
	private Integer userId;

	@ApiModelProperty(value = "登录账号")
	private String loginAccount;

	@ApiModelProperty(value = "登录密码")
	private String loginPassword;

	@ApiModelProperty(value = "支行姓名")
	private String  branchName;

	@ApiModelProperty(value = "用户名")
	private String userName;

	@ApiModelProperty(value = "角色Id")
	private Integer userRoleId;
	@ApiModelProperty(value = "角色名称")
	private String userRoleName;


	@ApiModelProperty(value = "联系电话")
	private String phone;

	@ApiModelProperty(value = "角色信息,用于页面显示")
	private SysRoleEntity sysRole;

	@ApiModelProperty(value = "用户状态（1：停用，0：正常）")
	private Integer userState;

	@ApiModelProperty(value = "上次登录时间")
	private Date lastLogin;

	@ApiModelProperty(value = "创建时间")
	private Date createTime;



	@ApiModelProperty(value = "更新时间")
	private Date updateTime;

	@ApiModelProperty(value = "创建人id")
	private Integer createBy;

	@ApiModelProperty(value = "更新人id")
	private Integer updateBy;

	@ApiModelProperty(value = "删除表示（默认：0.不删除，1.删除）")
	private Integer isDelete;

	@ApiModelProperty(value = "原密码")
	private String oldPassword;

	@ApiModelProperty(value = "确认密码")
	private String confirmPassword;

}
